home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 30
/
Amiga Format AFCD30 (Sep 1998, Issue 114).iso
/
-seriously_amiga-
/
workbench
/
reboot
/
smallreboot
/
sreboot.c
< prev
next >
Wrap
C/C++ Source or Header
|
1998-06-18
|
727b
|
39 lines
/*
**
** $VER: sReboot.c 1.1 (4.6.1998)
** sReboot 1.1
**
** Super-small reboot
**
** (C) Copyright 1998 by Roland 'Gizzy' Mainz
** All Rights Reserved
**
*/
/* amiga prototypes */
#include <clib/exec_protos.h>
/* amiga pragmas */
#include <pragmas/exec_pragmas.h>
/* version string */
#include "sReboot_rev.h"
/* version_string */
STRPTR versionstring = VERSTAG; /* Removing this would save additional ~68 bytes,
* but I don't like tools without version strings.
*/
/* main program entry */
void main( void )
{
struct Library *SysBase = (*((struct Library **)4UL));
/* BUG: We miss a version check here... */
ColdReboot();
}